<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<?php echo $this->Html->css(array('reset', 'global', 'coin-slider-styles'));?>
<!--[if lte IE 8]>
<?php echo $this->Html->css(array('iehacks'));?>
<![endif]-->
<meta http-equiv="refresh" content="2000">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Sindicato dos Empregados no Comércio de SAP e região</title>
<?php  echo $this->Html->script(array('jquery', 'marquee', 'jquery.totem', 'coin-slider.min.js'))?>
<script type="text/javascript">

jQuery(function(){

	$('p > img').wrapAll('<div id="imagens" style="background-color: blue;">');
	
	$('#imagens').coinslider({width: 400, height: 300, navigation: true, links: false});
	
	// FLASH
	$('#flashMessage').show();
	if($('#flashMessage')[0]){
		$('#mantoPreto').show();
		var texto = '<div><button id=flashFechar>Fechar</button></div>';
		$('#flashMessage').append(texto);
	}

	$('#flashFechar').click(function(){
		$('#flashMessage').hide();
		$('#mantoPreto').hide();
	});

	$('.fechar').click(function(){
		$('#assine_form').hide();
		$('#mantoPreto').hide();
	});

	$('a[href*=".pdf"]').before('<?php echo $this->Html->image("pdf_icon.png", array("class"=>"img","alt" => "Download PDF", "title" =>"Download PDF"), true);?>');
	$('a[href*=".doc"]').before('<?php echo $this->Html->image("word_icon.png", array("class"=>"img","alt" => "Download documento", "title" =>"Download documento"), true);?>');
	$('a[href*=".docx"]').before('<?php echo $this->Html->image("word_icon.png", array("class"=>"img","alt" => "Download documento", "title" =>"Download documento"), true);?>');
	$('a[href*=".xls"]').before('<?php echo $this->Html->image("excel_icon.png", array("class"=>"img","alt" => "Download planilha", "title" =>"Download planilha"), true);?>');
	$('a[href*=".xlsx"]').before('<?php echo $this->Html->image("excel_icon.png", array("class"=>"img","alt" => "Download planilha", "title" =>"Download planilha"), true);?>');
	
});
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-20062024-7']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
<div id="mantoPreto"></div>
<?php echo $this->Session->flash(); ?>

	<script type="text/javascript">
	$(function(){
		$('#noticiasLateral').totemticker({
			row_height  :   '170px',
			next        :   '#ticker-next',
			previous    :   '#ticker-previous',
			stop        :   '#stop',
			start       :   '#start',
			});
		$('#marquee').marquee();

		$('#assine_button').click(function(){
			$('#assine_form').show();
			$('#mantoPreto').show();
		});
		
	});

	</script>
	<div class="wrapper">
		<div class="page">
			<div class="header">
				<div class="titulo">
					<div id="logo">
						<?php echo $this->Html->image(
						//'logo_sindicato_novo.png',
						'header.png',
						array(
						'url'=>array('controller'=>'pages', 'action'=>'index'),
						'alt'=>'Sindicato dos Empregados no Comércio de Santo Antônio da Platina e região'));?>
					</div>
					<div class="assine">
						<?php echo $this->element('assine');?>
					</div>
					<h1 style="display:none">Sindicato dos Empregados no Comércio de Santo Antônio da Platina</h1>
					<div class="clear"></div>
				</div>
				<div class="clear"></div>
				<div style='text-align: center;text-shadow: 1px 1px 1px gray;'> Base territorial</div>
				<div class="base_territorial">
					<div id='marquee'>
						<?php echo $this->element('cidadesBase'); ?>
					</div>
				</div>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
			<div class="corpo">
				<div class="esquerda">
					<div class="interna_esquerda menu">
						<?php echo $this->element('menu');?>
					</div>
					<div class="interna_esquerda filie-se">
					FILIE-SE AO SEU SINDICATO!
					</div>
				</div>
				<div class="meio">
					<div class="texto">
					<?php echo $content_for_layout;?>
					</div>
					<div class="uploads"></div>
				</div>
				<div class="direita">
				<div class="interna_direita noticias">
					<?php echo $this->element('noticiasLateral'); ?>
				</div>
				<div class="interna_direita localizacao">
					<span class="noticia_titulo_pequeno">Endereço:</span> <br><br>
					<small>
						Rua Coronel Capucho, 314 Centro
						CEP: 86430-000<br>
						Santo Antônio da Platina - Paraná<br><br>
						<a target="_blank" href="http://maps.google.com.br/maps?f=q&amp;source=embed&amp;hl=pt-BR&amp;q=R.+Cel.+Capucho,+314+-+Santo+Ant%C3%B4nio+da+Platina+-+Paran%C3%A1,+86430-000&amp;aq=&amp;sll=-14.239424,-53.186502&amp;sspn=59.788764,107.050781&amp;ie=UTF8&amp;geocode=FamHnP4dTO0D_Q&amp;split=0&amp;hq=&amp;hnear=R.+Cel.+Capucho,+314+-+Santo+Ant%C3%B4nio+da+Platina+-+Paran%C3%A1,+86430-000&amp;z=14&amp;ll=-23.296087,-50.074292" style="color:#0000FF;text-align:left">
						Exibir mapa</a>
					</small>
				</div>
				</div>
				<div class="clear"></div>
			</div>
			<div class="footer">
				<div class="base_territorial">
						<?php echo $this->element("links");?>
				</div>
				<div class="copyright footer_interno">
					© Copyright 2011, Sindicato dos Empregados do Comércio de Santo Antônio da Platina, PR
				</div>
				<div class="produzido footer_interno">
					Desenvolvido por GWD Web
				</div>
				<div class="powered footer_interno">
					Powered by
				<?php echo $this->Html->link(
				$this->Html->image('cake.power.gif', array('alt'=> __('CakePHP: the rapid development php framework', true), 'border' => '0')),
					'http://www.cakephp.org/',
				array('target' => '_blank', 'escape' => false)
				);
				?>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
